package cn.iocoder.yudao.module.member.controller.admin.friend.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 用户好用关系 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class FriendBaseVO {

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "10171")
    @NotNull(message = "用户id不能为空")
    private Integer userId;

    @Schema(description = "好友id", requiredMode = Schema.RequiredMode.REQUIRED, example = "21892")
    @NotNull(message = "好友id不能为空")
    private Integer friendId;

    @Schema(description = "来源:1=邀请好友添加", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "来源:1=邀请好友添加不能为空")
    private Integer fromType;

    @Schema(description = "状态:", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态不能为空")
    private Integer status;

}
